package com.data
{
	public class TaskVO extends ProjectVO
	{
		//private var _parentId:int;
		private var _project:ProjectVO;
		private var _projectName:String;
		
		private var _priorityChar:String;
		private var _priorityNumber:Number;
		
		public function TaskVO(id:int, project:ProjectVO, name:String, startDate:Date, dueDate:Date, isComleted:Boolean)
		{
			super(id, name, startDate, dueDate, isComleted);
			this.project = project;
		}
		
		public function set project(project:ProjectVO):void {
			this._project = project;
		}
		
		public function get project():ProjectVO {
			return this._project;
		}
		
		public function get projectName():String {
			return project.name;
		}
		
		public function set projectName(name:String):void {
			this._projectName = name;
		}
		
		public function get priorityChar():String {
			return this._priorityChar;
		}
		
		public function set priorityChar(name:String):void {
			this._priorityChar = name;
		}
		
		public function get priorityNumber():Number {
			return this._priorityNumber;
		}
		
		public function set priorityNumber(num:Number):void {
			this._priorityNumber = num;
		}
	}
}